<!--首页分类组件-->
<style type="less/css">
    .category{}
    .category h2{ font-size:48px;}
    .category h3{ font-size:36px;}
    .category .more{

    }
</style>
<template>
    <div class="category">
        <h2>{{name}}</h2>
        <h3>{{description}}</h3>
        <a :href="{{link}}" class="more">更多</a>
    </div>
</template>

<script>
    module.exports = {
        data: function () {
            return {
                
            }
        },
        props:['name','description','link']
    }
</script>